﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo02
{
    abstract class Robot
    {
        public string name { get; set; }

        public Robot(string name)
        {
            this.name = name;
        }
        public abstract void Speak();
    }
}

